package wh.coach.pivot3.table.dynamic;

import lombok.AllArgsConstructor;
import lombok.Getter;
import wh.coach.domain.CalType;

/**
 * @author xhw
 * @date 2024/3/22
 */
@Getter
@AllArgsConstructor
public class Aggregation {
    private String fieId;
    private CalType calType;

    public String getTitle() {
        //为什么不是直接返回fieId + calType.getName()呢？
        return fieId + "_" + calType;
    }
}
